<?php

/**
 * Description of Model_db_active
 *
 * @author Meta Sanjaya
 */
class Model_db_active extends MY_Model {
    public function __construct() {
        parent::__construct();
    }

    /**
     *
     * @return string
     */
    function get_transaction_database() {
        $query = $this->db->query("select * from `".DATABASE_WEB."`.`info` where `id` = 'active_database'");
        return $query->row()->val;
    }
}
?>
